<extend name="public@extendteamplate" />
<block name="content">
<php> 

function test($d){
	echo 'call function test '.$d;
}

$footer = 'extend footer';
</php>


<p>
$t = 'include ';<br/>
function test($d){<br/>
&nbsp;&nbsp;&nbsp;echo $t.'call function test'.$d;<br/>
}<br/>
$t = 'on include';<br/>
$data = 'params data';<br/>
</p>

</block>
